package cn.mayaslight.wechat.common;

public class WeChatConsts {

	public class Constants {
		public static final String OPEN_URI = "https://open.weixin.qq.com";
		public static final int RES_TOKEN_AND_TICKET_EXPIRE_SECOND = 30 * 60;
		public static final String POST = "post";
		public static final String GET = "get";
	}
	
	public class CacheKeys {
		public static final String APPID_KEY = "APPID_KEY";
		public static final String APPSECRET_KEY = "APPSECRET_KEY";
		public static final String TOKEN = "TOKEN";
		public static final String ENCODING_AES_KEY = "ENCODING_AES_KEY";
		public static final String ISQY = "ISQY";
	}

	public class RedisKeys {
		public static final String RES_ACCESS_TK_KEY_PRE = "RES_ACCESS_TK_KEY $$";
		public static final String RES_JSAPI_TICKET_KEY_PRE = "RES_JSAPI_TICKET_KEY $$";
	}

	public class BusinessIds {
		public static final long NOT_FOUND_OPENID = 30001;
	}

}
